<?php
/**
 * Description of NotEmpty
 *
 * @author      Maciej Zawieja.
 * @link        http://akvus.pl
 * @package     Akvus Framework.
 * @subpackage  Libraries.
 * @copyright   2011 All rights reserved for Maciej Zawieja.
 * @version     1.0.0 - 19.08.2011 (Framework 1.3)
 */
class NotEmpty implements iValidation {

    const PARAMS_QUANTITY = 0;

    public function isValid($text) {
        if ( empty ($text) )
            throw new ValidationException ($message, ValidationException::IS_EMPTY);
    }

    public function setParams( array &$params ) {
    }
}